import request from '@/utils/request';
import { stringify } from 'qs';
export default {
    getTrace(payload) {
        return request({
            url: `/api/getTrace?${stringify(payload)}`,
            method: 'get'
        })
    },
    deleteOneTrace(payload) {
        return request({
            url: `/api/deleteOneTrace?${stringify(payload)}`,
            method: 'delete'
        })
    },
     deleteTraceByTime(payload) {
        return request({
            url: `/api/deleteTraceByTime?${stringify(payload)}`,
            method: 'delete'
        })
    },
};